import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
    state: {
        isHeaderRightShow: false,
        title: ""
    },
    mutations: {
        headerRightShowAndTitle(state, { isHeaderRightShow, title }) {
            state.isHeaderRightShow = isHeaderRightShow
            state.title = title
        }
    },
    actions: {},
    modules: {}
})